﻿Imports System.Net
Imports System.Net.HttpWebRequest
Imports System.Net.HttpWebResponse
Imports System.IO
Imports System.Text
Imports System.Xml

''' <remarks>
''' =======================================================================
''' Google Storage for .NET
''' Copyright (C) 2010 Anthony Papillion (papillion@gmail.com)
''' Released Under the Microsoft Public License
''' 
''' DESCRIPTION:
''' This software provides a pure .NET interface to the Google Storage
''' Service. It implements most of the API functions including uploading
''' and downloading files, managing buckets, managing ACL's, and other 
''' functions that Google Storage provides.
''' 
''' WARRANTY:
''' This software is provided 'AS IS' and without warranty of any kind. By
''' downloading and using this software, you agree to hold all authors and
''' contributors of and to this software blameless and without liable should
''' the software not perform as advertised or even work at all. 
''' 
''' Use of this software within the constraints of local, state, and federal
''' law is YOUR responsibility. You are responsible for using this software 
''' in accordance to the laws of your country and municipality. 
''' =========================================================================
''' </remarks>

Public Class GSN

    Private GooglePublicKey As String = ""
    Private GooglePrivateKey As String = ""

    Sub New(ByVal PublicKey As String, _
            ByVal PrivateKey As String)

        GooglePublicKey = PublicKey
        GooglePrivateKey = PrivateKey
    End Sub

    Public Function uploadNewFile(ByVal filename As String, _
                                  ByVal bucketname As String)



    End Function

    Public Function downloadFile(ByVal filename As String, _
                                 ByVal bucketname As String)

    End Function

    Public Function createNewBucket(ByVal bucketname As String)

    End Function

    Public Function deleteBucket(ByVal bucketname As String)

    End Function

    Public Function listBucketContents(ByVal bucketname As String)

    End Function

    Public Function setACL(ByVal bucketname As String, _
                           ByVal permission As String)

    End Function


End Class
